import upload from '@/utils/upload';
import request from '@/utils/request';

// 查询用户详情
export function userDetails() {
  return request({
    url: '/system/user/getUserDetail',
    method: 'get'
  });
}
// 查询个人信息
export function userInfos() {
  return request({
    url: '/system/user/getUserInfo',
    method: 'get'
  });
}
// 用户密码重置
export function updateUserPwd(data) {
  return request({
    url: '/system/user/updatePwd',
    method: 'put',
    params: data
  });
}
